//
//  AppDelegate.swift
//  IMUIDemo
//
//  Created by tbbMacmini on 2025/3/21.
//

import UIKit
import IQKeyboardManagerSwift
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
    var window: UIWindow?



    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
        // 创建 UIWindow
        window = UIWindow(frame: UIScreen.main.bounds)
        
        
        
        // 设置根视图控制器
        let vc = ViewController() // 替换为你的初始视图控制器
        let rootViewController = UINavigationController(rootViewController: vc);
        window?.rootViewController = rootViewController
        
        // 显示窗口
        window?.makeKeyAndVisible()
        
        IQKeyboardManager.shared.isEnabled = true
        IQKeyboardManager.shared.resignOnTouchOutside = true;
        
        return true
        
    
    }



}

